using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Shpm.App.Input.Bean;
using System.Collections;
using Shpm.System.Db;

namespace Shpm.App.Input.Dao
{
    public class MemoInfoDao : ShpmBaseDao
    {
        private const string FIND_MEMO_LIST = "MemoInfo.MemoList";
        private const string IN_MEMO = "MemoInfo.MemoIn";
        private const string UPD_MEMO = "MemoInfo.UpdMemo";
        private const string GET_MEMO = "MemoInfo.GetMemo";
        private const string DEL_MEMO = "MemoInfo.DelMemoL";
        private const string FIND_BY_MEMO_INFO = "MemoInfo.FindByMemoInfo";
        private const string FIND_CALL_BY_MEMO_INFO = "MemoInfo.FindCallByMemoInfo";

        public MemoInfoDao()
        {
        }

        public IList FindMemoList(MemoInfoBean paramBean)
        {
            return base.QueryForList(FIND_MEMO_LIST, paramBean);
        }

        public void DelMemo(MemoInfoBean bean)
        {
            base.Delete(DEL_MEMO, bean);
        }

        public MemoInfoBean GetMemo(MemoInfoBean paramBean)
        {
            return (MemoInfoBean)base.QueryForObject(GET_MEMO, paramBean);
        }

        public object InsertMemo(MemoInfoBean bean)
        {
            return base.Insert(IN_MEMO, bean);
        }

        public int UpdMemo(MemoInfoBean bean)
        {
            return base.Update(UPD_MEMO, bean);
        }

        public IList FindByMemoInfo(MemoInfoBean paramBean)
        {
            return base.QueryForList(FIND_BY_MEMO_INFO, paramBean);
        }

        public IList FindCallByMemoInfo(MemoInfoBean paramBean)
        {
            return base.QueryForList(FIND_CALL_BY_MEMO_INFO, paramBean);
        }
    }
}